package com.zuoye.text6;



import java.util.Date;

//新闻信息的JavaBean
public class News2 {
	//新闻属性
	private int id;
	private String name;
	private Date createDate;

	//setter以及getter


	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Date getCreateDate() {
		return createDate;
	}

	public void setCreateDate(Date createDate) {
		this.createDate = createDate;
	}
}
